<template>
  <div>
    <h2>我是form表单</h2>
  </div>
</template>

<script setup>
import { ref } from 'vue';
const money = ref(1000);
const validate = () => {
  console.log('表单组件内部的校验方法');
};
defineExpose({
  validate,
  money,
});
</script>
